﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using InfoMap.Models;
using InfoMap.DataAccess;

namespace InfoMap.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {            
            return View();
        }

        public ActionResult About()
        {                       
            Jurisdiccion juri = new Jurisdiccion();
            juri.Codigo = "CP2";
            juri.Nombre = "Capital";
            Repository<Jurisdiccion> repo = new Repository<Jurisdiccion>();
            repo.Insert(juri);            
            return View();


        }
    }
}
